﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using xplang.parse;

namespace xplang.errors
{
  public class InternalError: Error
  {
    public InternalError(Token pos, String message)
      :base(pos)
    {
      this.msg = message;
    }

    public readonly Token pos;
    public readonly String msg;

    public override String message()
    {
      return msg;
    }
  }
}
